package day06;

public class A {
    private int a=9;

    public int getA() {
        return a;
    }

    /**
     * 设置
     * @param a
     */
    public void setA(int a) {
        this.a = a;
    }

}
class B extends A{

}
class C{
    public static void main(String[] args) {
        B b=new B();
        System.out.println(b.getA());
    }
}